﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ComponentModel;

namespace Httlgd.DataCenter.Services.Sms.ServiceLibrary
{
    [MessageContract]
    public class DownloadFileRequest
    {
        /// <summary>
        /// Represent ID of the associated record 
        /// (SermonID if DocumentType is SermonAudio, AttachmentID if DocumentType is Attachment)
        /// </summary>
        [MessageHeader(MustUnderstand = true)]
        [DefaultValue((int)0)]
        public int RelatedRecordID { get; set; }

        [MessageHeader(MustUnderstand = true)]
        [DefaultValue(DocumentType.SermonAudio)]
        public DocumentType DocumentType { get; set; }
    }
}
